package com.baidu.project.chart5;

public class Computer {
    private String MainBoard;
    private String CPU;
    private String Memory;
    private String HardDisk;
    private String VideoCard;

    public Computer() {
    }

    public String getMainBoard() {
        return this.MainBoard;
    }

    public void setMainBoard(String str) {
        this.MainBoard = str;
    }

    public String getCPU() {
        return this.CPU;
    }

    public void setCPU(String str) {
        this.CPU = str;
    }

    public String getMemory() {
        return this.Memory;
    }

    public void setMemory(String str) {
        this.Memory = str;
    }

    public String getHardDisk() {
        return this.HardDisk;
    }

    public void setHardDisk(String str) {
        this.HardDisk = str;
    }

    public String getVideoCard() {
        return this.VideoCard;
    }

    public void setVideoCard(String str) {
        this.VideoCard = str;
    }

    public void ShowSysInfo() {
        System.out.println("=======主机部件配置信息=======");
        System.out.println("主板类型：" + this.MainBoard);
        System.out.println("CPU类型：" + this.CPU);
        System.out.println("内存类型：" + this.Memory);
        System.out.println("硬盘类型：" + this.HardDisk);
        System.out.println("显卡类型：" + this.VideoCard);
    }
}